import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { AnnualCostComponent } from './annual-cost/annual-cost.component';
import { WorkshopCostComponent } from './workshop-cost/workshop-cost.component';
import { ChReportComponent } from './chreport/chreport.component';
import { SzReportComponent } from './szreport/szreport.component';

@NgModule({
    imports: [
        RouterModule.forChild([
            {
                path: '',
                children: [
                    { path: 'annual', component: AnnualCostComponent },
                    { path: 'workshop', component: WorkshopCostComponent },
                    { path: 'chreport', component: ChReportComponent },
                    { path: 'szreport', component: SzReportComponent }
                ]
            }
        ])
    ],
    exports: [RouterModule]
})
export class CostAnalysisRoutingModule {}
